<template>
	<view class="coupon">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ''
			}
		},
		methods: {

			getContent() {
				this.$get('/index/config', {
					type: 'goods',
					key: 'use_info'
				}).then(res => {
					this.content = res.data.use_info
				})
			},

		},

		onLoad() {
			this.getContent();
		}
	}
</script>

<style scoped lang="less">
	.coupon {
		padding: 40rpx;
	}
</style>